package com.ruix.app.model;

import android.text.TextUtils;

/**
 * Created by hadexs on 2017/5/30.
 */

public class ChatAuther {

    private String authID;
    private String authName;
    private String roleid;
    private String roleVale;
    private String authAvatar;



    public String authorRoleValue(String roleID){
        if (!TextUtils.isEmpty(roleID)) {
            if ("1".equals(roleID)){
                return "导师";
            } else if ("5".equals(roleID)){
                return "小助手";
            } else if ("6".equals(roleID)){
                return "嘉宾";
            } else if ("8".equals(roleID)){
                return "班主任";
            } else if ("9".equals(roleID)){
                return "班委";
            } else if ("10".equals(roleID)){
                return "班长";
            }
        }
        return null;
    }

    public String getAuthID() {
        return authID;
    }

    public void setAuthID(String authID) {
        this.authID = authID;
    }

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public String getRoleVale() {
        return roleVale;
    }

    public void setRoleVale(String roleVale) {
        this.roleVale = roleVale;
    }

    public String getAuthAvatar() {
        return authAvatar;
    }

    public void setAuthAvatar(String authAvatar) {
        this.authAvatar = authAvatar;
    }
}
